package com.bawei.demo_mvp.mvp;

import com.bawei.demo_mvp.base.BaseView;
import com.bawei.demo_mvp.entity.BaseResponse;
import com.bawei.demo_mvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;

/**
 * @author yaotianxue
 * @description
 * @date 2025/5/12
 */
public class VideoContract {

    //model:请求数据：BaseResponse响应信息基类：响应吗 响应消息  数据List<VideoEntity>
    public interface  IVideoModel{
        Observable<BaseResponse<List<VideoEntity>>> video(int currentPage, int pageSize);//视频

    }
    //view：展示UI 数据List<VideoEntity>
    public interface IVideoView extends BaseView {
        void showVideo(List<VideoEntity> data);

    }
    public interface IVideoPresenter{
        void video(int currentPage,int pageSize);
    }

}
